package proxy.JDKDynamicProxy;

public class Tenant implements Person {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public void giveHouse() {
        System.out.println(this.name+"租房子");
    }
}
